VDSetKeyColor
TheVDSetKeyColor
function allows applications to set the key color.All video digitizer components that support key colors must support this function.
pascal VideoDigitizerError VDSetKeyColor (VideoDigitizerComponent ci, long index);
ci
- Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's
OpenComponent
function.index
- Specifies the new key color. The value of the
index
field corresponds to a color in the current color lookup table.DESCRIPTION
Some video digitizer components support multiple key colors. TheVDSetKeyColor
function instructs such digitizer components to clear the key color list and insert a single entry for the specified color. Applications can then use theVDAddKeyColor
function, described on page 8-84, to place additional colors into the key color list.RESULT CODES
noErr 0 No error digiUnimpErr -2201 Function not supported qtParamErr -2202 Invalid parameter value
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help